<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

   <form action="/order/form02" method="post">
        {% csrf_token %}
        <label for="name">Your name: </label>
        {# 标签必须有name属性和form类对应 #}
        <input id="name" type="text" name="name" maxlength="100" required />
        <label for="age" >Your  age:</label>
        <input id="age" type="number" name="age" max="255"/>
        <input type="submit" value="Submit" />
    </form>
</body>
</html>